{%include file="index.header.tpl.php"%}
{%include file="index.left.tpl.php"%}
  <!--主要内容开始-->
  <div class="content-wrapper">
    <section class="content">
      <div class="row">
        <section class="col-lg-12 connectedSortable">
         <div class="box box-default box-solid">
             <form name="myform" action="" method="get">	
                <div class="box-header with-border">
                    <span class="fa fa-pencil" style="float:left; font-size:18px; padding-top:3px; color:#3c8dbc;" ></span>
                    <p class="box-title">数据库备份</p>
                    <a href="tp/teacher_in.xls" class="btn btn-success btn-sm" style="float:right; color:#fff; margin-left:10px;">模版</a>
                    <a href="index.php?a=teacher.outdata&staff_position={%$staff_position%}&staff_education={%$staff_education%}&staff_name={%$staff_name%}" target="_blank" class="btn btn-warning btn-sm" style="float:right; color:#fff; margin-left:10px;" onclick="if(confirm('姓名从第三行开始')==false)return false;">导 出</a>
					<a href="index.php?a=teacher.in" class="btn btn-success btn-sm" style="float:right; color:#fff; margin-left:10px;">导 入</a>
					<a href="index.php?a=teacher.add" class="btn btn-primary btn-sm" style="float:right; color:#fff;">新 增</a>
                </div>
                <div class="box-body">
                    
                    <div style="clear:both; height:2px;"></div>
                    <div style="width:100%; overflow-x:scroll">
                     <table class="table table-bordered table-striped"  id="mytable">
                                <thead>
                                    <tr style="background-color:#a273ff"> 
                                        <td>路径</td> 
                                        <td>文件名</td> 
                                        <td>时间</td> 
										<td width="260">操作</td>
                                    </tr>	
                                </thead>

                                <tbody>
                               {%foreach from=$staff_lists key=key item=value%}
                                    <tr>
                                        <td>{%$value.staff_number%}</td>
                                        <td>{%$value.staff_name%}</td> 
                                        <td>{%$value.staff_sex%}</td> 
                                           <td> 
                                        	  <a href="index.php?a=teacher.update&staff_id={%$value.staff_id%}" class="btn btn-warning btn-xs"> 还 原 </a>
											  
                                         </td>
                                         
                                          
                                    </tr>	
                                 {%/foreach%}
                           
                               </tbody>
                        </table>
                       
                        </div>
                        
				   </div><!--box-body -->
                   <div class="box-footer">
                       {%$page%}
                   </div>
               </form>
           </div><!--box box-default box-solid-->
        </section>   
           
        </div><!--row-->
    </section>
 </div>
  <!--主要内容结束-->
 {%include file="index.footer.tpl.php"%}

